package com.elder.business.service;


import com.alibaba.fastjson2.JSONObject;
import com.elder.business.domain.OrderInfoDTO;
import com.elder.common.core.domain.AjaxResult;
import com.elder.common.core.page.TableDataInfo;

public interface IOrderInfoService {
    Integer addOrderInfo(OrderInfoDTO orderInfo);

    TableDataInfo getOrderInfoList(String elderName, String orderTime, Integer pageNum, Integer pageSize);

    JSONObject getOrderInfoById(Long orderId);

    JSONObject createOrderInfo(OrderInfoDTO orderInfo);

    AjaxResult updateOrderStatus(String orderId);
}
